home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_curl.idb
/
usr
/
freeware
/
catman
/
p_man
/
cat3
/
curl_global_init.Z
/
curl_global_init
Wrap
Text File
|
2002-07-08
|
2KB
|
63 lines
curl_global_init(3) libcurl Manual curl_global_init(3)
NNAAMMEE
curl_global_init - Global libcurl initialisation
SSYYNNOOPPSSIISS
##iinncclluuddee <<ccuurrll//ccuurrll..hh>>
CCUURRLLccooddee ccuurrll__gglloobbaall__iinniitt((lloonngg _f_l_a_g_s));;
DDEESSCCRRIIPPTTIIOONN
This function should only be called once (no matter how
many threads or libcurl sessions that'll be used) by every
application that uses libcurl.
If this function hasn't been invoked when _c_u_r_l___e_a_s_y___i_n_i_t
is called, it will be done automatically by libcurl.
The flags option is a bit pattern that tells libcurl exact
what features to init, as described below. Set the desired
bits by ORing the values together.
You must however aallwwaayyss use the _c_u_r_l___g_l_o_b_a_l___c_l_e_a_n_u_p func
tion, as that cannot be called automatically for you by
libcurl.
Calling this function more than once will cause unpre
dictable results.
This function was added in libcurl 7.8.
FFLLAAGGSS
CCUURRLL__GGLLOOBBAALL__AALLLL
Initialize everything possible. This sets all known
bits.
CCUURRLL__GGLLOOBBAALL__SSSSLL
Initialize SSL
CCUURRLL__GGLLOOBBAALL__WWIINN3322
Initialize the Win32 socket libraries. (added in
libcurl 7.8.1)
CCUURRLL__GGLLOOBBAALL__NNOOTTHHIINNGG
Initialise nothing extra. This sets no bit.
RREETTUURRNN VVAALLUUEE
If this function returns non-zero, something went wrong
and you cannot use the other curl functions.
SSEEEE AALLSSOO
ccuurrll__gglloobbaall__cclleeaannuupp(3),
BBUUGGSS
None.
libcurl 7.9.1 13 Nov 2001 curl_global_init(3)